package com.two.service.businessman.openFeign;

import com.two.common.entity.Restaurant;
import com.two.common.vo.RestaurantVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "two-orderSystem-service-restaurant")
public interface RestaurantOpenFeign {
    @PostMapping("api/restaurant/restaurant/addRestaurant")
    public Integer addRestaurant(@RequestBody RestaurantVo restaurant);
}
